using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
using XBLib.Dal;
using XBLib.Dal.AdoDal;
using XBLib.BusinessObject;

using System.Data.Common;
using DataInfo;

namespace KenLib.Dal
{
    public class ErrorDao : BaseAdoDao
    {
        #region TUNG
        public DataTable getError(Error obj)
        {
            DbParameter paramErrorID = _daoHelper.CreateParameter("@ERRORID", obj.ErrorID, DbType.String);
            DbCommand command = _daoHelper.CreateCommand("sp_getError_TUNG  ", CommandType.StoredProcedure, paramErrorID);
            return _daoHelper.Query(command);
        }
        #endregion
    }
}
